import request from '@/utils/request'

const prefix = 'api/xiao/qu'

export function postXiaoQuDetail(data) {
    return request({
      url: prefix + '/read/detail',
      method: 'post',
      data
    })
}

export function postXiaoQuList(data) {
    return request({
      url: prefix + '/list',
      method: 'post',
      data
    })
}

export function postXiaoQuAnQuanDetail(data) {
    return request({
      url: prefix + '/read/an/quan/detail',
      method: 'post',
      data
    })
}

export function postXiaoQuHuXingDetail(data) {
  return request({
    url: prefix + '/read/hu/xing/detail',
    method: 'post',
    data
  })
}

export function postZhuHuWoDeHuXingData(data) {
  return request({
    url: '/api/zhu/hu/wo/de/hu/xing',
    method: 'post',
    data
  })
}

export function postXiaoQuLiuLiangList(data) {
  return request({
    url: prefix + '/liu/liang/list',
    method: 'post',
    data
  })
}
export function postStoreInfo(data) {
  return request({
    url: '/api/fang/wu/read/detail',
    method: 'post',
    data
  })
}

export default { postXiaoQuDetail, postXiaoQuList, postXiaoQuAnQuanDetail, postXiaoQuHuXingDetail, postZhuHuWoDeHuXingData, postXiaoQuLiuLiangList, postStoreInfo }